]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-js: Kill some compile warnings
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 22 Feb 2014 22:41:10 +0000 (17:41 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 22 Feb 2014 22:42:03 +0000 (17:42 -0500)
jsapi.h has some bad warnings with gcc. gjs-module.h already includes
jsapi.h and uses a complicated set of GCC pragmas to mask them out, so
just kill our include.

src/shell-js.cpp

index 7d057c9e92599608d8354128745ef0f9bb9fa618..4ed87960f94fb0f80903511f5991dc29abe97235 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "shell-js.h"
 
-#include <jsapi.h>
 #include <gio/gio.h>
 #include <gjs/gjs.h>
 #include <gjs/gjs-module.h>